﻿using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Presentation.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Huirui.Cavan.Presentation.ViewModel.SystemModule
{
    public class AccountViewModel : EntityModel<Account, string, AccountSearch>, IAccountViewModel
    {
        public string NoPrefixId { get; set; }
        public string Purpose { get; set; }
    }

    public class AccountJson : BaseJson<string>
    {
        public string Currency { get; set; }
        public string InitialDate { get; set; }
        public decimal InitialAmount { get; set; }
        public decimal LeftAmount { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public string Status { get; set; }
        public int StatusId { get; set; }
        public string TypeValue { get; set; }
    }

    public class AccountJsonViewModel : JsonViewModel<AccountJson>
    {
    }

}
